<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		.out{
			
			margin-top: 100px;
			position: relative;
		}
		.box{
			width: 200px;
			height: 300px;
			background: blue url() 0 0 no-repeat;
			position: absolute;
			top: 0px;
			overflow: hidden;
		}
		.bg{
			width: 200px;
			height: 300px;
			position: absolute;
			top: -2px;
			box-shadow:0px 5px 20px #333;
			display: none;

		}
		.red{
			width: 100%;
			height: 80px;
			background: #FF9900 url() 0 0 no-repeat;
			position: absolute;
			bottom: -80px;
			/*display: none;*/

		}
	</style>
	 <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	 <script type="text/javascript">
	 	$(function() {
	 		$('.box').hover(function () {
	 			$('.bg').fadeIn(200);
	 			$(this).animate({'top':'-2px'},200);
	 			$(this).children('.red').animate({bottom:'0px'}, 200);
	 		},function() {
	 			$('.bg').fadeOut(200);
	 			$(this).animate({'top':'0px'},200);
	 			$(this).children('.red').animate({bottom:'-80px'}, 200);
	 		})
	 	})
	 </script>
</head>
<body>
	<div class="out">
		<div class="bg">
		
		</div>
		<div class="box">
			<div class="red"></div>
		</div>
	</div>
</body>
</html>